﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="SelectUnLockedOrderPage" Codebehind="SelectUnLockedOrderPage.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script language="javascript" type="text/javascript">
function retWindow()
{
    var retValue="";
    for(var i=0;i<document.form1.all.length;i++)
    {
        if(document.form1.all(i).checked==true)
        {
            retValue=retValue+document.form1.all(i).value+",";
        }
    }
    window.returnValue=retValue;
    window.close();
}
</script>
<link href="App_Themes/main/base.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
<div align="center"><h2>选择订单</h2></div>
<div style="width: 500px; height:350px; overflow:auto;">

<asp:Repeater ID="Repeater1" runat="server">
<HeaderTemplate>
<table class="tb" border="0" cellspacing="1" cellpadding="0">
    <tr class="z1">
    <td class="zt3"></td>
    <td class="zt3">订单编号</td>
    <td class="zt3">收货人</td>
    </tr>

</HeaderTemplate>

<ItemTemplate>
    <tr class="z2">
    <td class="zt4"><input type="checkbox" id="chk" value='<%#Eval("ORDER_ID") %>'/></td>
    <td class="zt4"><%#Eval("ORDER_ID") %></td>
    <td class="zt4"><%#Eval("ORDER_GETER") %></td>
    </tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
</div>
<div align="center"><br/>
<asp:Button ID="btnSure" runat="server" CssClass="input_button" Text="确定" OnClientClick="retWindow()" />
<asp:Button ID="btnCancel" runat="server" CssClass="input_button" Text="取消" OnClientClick="javascript:window.close()" />
</div>
    
    </div>
    </form>
</body>
</html>
